package pl.edu.uj.tcs.blef.protocol;

import java.net.Socket;

/**
 * An interface which defines request handlers.
 * @author Maciej Bendkowski
 *
 */
public interface RequestHandler {
	
	/**
	 * Handles the given request onto the socket.
	 * @param request The request to be handled.
	 * @param socket The socket on which the handler works.
	 */
	public abstract void handle(Request request, Socket socket);
}
